home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / dsgnwnds.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  2.9 KB  |  78 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'DsgnWnds.pas' rev: 3.00
  6.  
  7. #ifndef DsgnWndsHPP
  8. #define DsgnWndsHPP
  9. #include <DsgnIntf.hpp>
  10. #include <LibIntf.hpp>
  11. #include <Forms.hpp>
  12. #include <Controls.hpp>
  13. #include <Classes.hpp>
  14. #include <SysUtils.hpp>
  15. #include <Messages.hpp>
  16. #include <SysInit.hpp>
  17. #include <System.hpp>
  18.  
  19. //-- user supplied -----------------------------------------------------------
  20.  
  21. namespace Dsgnwnds
  22. {
  23. //-- type declarations -------------------------------------------------------
  24. class DELPHICLASS TDesignWindow;
  25. class PASCALIMPLEMENTATION TDesignWindow : public Forms::TForm 
  26. {
  27.     typedef Forms::TForm inherited;
  28.     
  29. private:
  30.     Dsgnintf::TComponentList* FSelection;
  31.     Classes::TComponent* FOwner;
  32.     Dsgnintf::TFormDesigner* FDesigner;
  33.     bool FActive;
  34.     void __fastcall ComponentRead(Classes::TComponent* Component);
  35.     void __fastcall ReaderSetName(Classes::TReader* Reader, Classes::TComponent* Component, System::AnsiString 
  36.         &Name);
  37.     HIDESBASE MESSAGE void __fastcall WMActivate(Messages::TWMActivate &Msg);
  38.     
  39. protected:
  40.     DYNAMIC void __fastcall Activated(void);
  41.     void __fastcall ActivateInspector(char Ch);
  42.     bool __fastcall ClipboardComponents(void);
  43.     void __fastcall CopyComponents(Classes::TComponent* Root, Dsgnintf::TComponentList* Components);
  44.     void __fastcall PasteComponents(Classes::TComponent* AOwner, Classes::TComponent* AParent, Dsgnintf::TComponentList* 
  45.         Components);
  46.     void __fastcall SetSelection(Dsgnintf::TComponentList* Components);
  47.     virtual System::AnsiString __fastcall UniqueName(Classes::TComponent* Component) = 0;
  48.     
  49. public:
  50.     __fastcall virtual TDesignWindow(Classes::TComponent* AOwner);
  51.     __fastcall virtual ~TDesignWindow(void);
  52.     virtual void __fastcall ComponentDeleted(Classes::TComponent* Component);
  53.     virtual Libintf::TEditState __fastcall GetEditState(void);
  54.     virtual void __fastcall EditAction(Libintf::TEditAction Action);
  55.     virtual void __fastcall FormClosed(Forms::TCustomForm* AForm);
  56.     virtual void __fastcall FormModified(void);
  57.     virtual void __fastcall SelectionChanged(Dsgnintf::TComponentList* ASelection);
  58.     __property bool Active = {read=FActive, nodefault};
  59.     __property Dsgnintf::TFormDesigner* Designer = {read=FDesigner, write=FDesigner};
  60. public:
  61.     /* TCustomForm.CreateNew */ __fastcall TDesignWindow(Classes::TComponent* AOwner, int Dummy) : Forms::
  62.         TForm(AOwner, Dummy) { }
  63.     
  64. public:
  65.     /* TWinControl.CreateParented */ __fastcall TDesignWindow(HWND ParentWindow) : Forms::TForm(ParentWindow
  66.         ) { }
  67.     
  68. };
  69.  
  70. //-- var, const, procedure ---------------------------------------------------
  71.  
  72. }    /* namespace Dsgnwnds */
  73. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  74. using namespace Dsgnwnds;
  75. #endif
  76. //-- end unit ----------------------------------------------------------------
  77. #endif    // DsgnWnds
  78.